@charset "utf-8";
/**** 全局定义 ****/
* {
    box-sizing: border-box;
}
html,body {
    margin: 0;
    font: 20px sans-serif;
}
main {
    width: 660px;
    margin: 0 auto;
    padding-bottom: 100px;
}
input, select, textarea, button {
    padding: 6px;
    font: 18px sans-serif;
    outline: none;
    border: 1px solid #9c9c9c;
    border-radius: 3px;
}
button,a {
    cursor: pointer;
    user-select: none;
}
button:active {
    background-color: #e3e3e3;
}

/**** 细节设置 ****/
header {
    height: 50px;
    background-color: #f2faff;
}
header nav {
    width: 660px;
    height: 100%;
    margin: 0 auto;
}
header nav ul {
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}
header nav ul li {
    height: 100%;
    flex: 1 0 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888888;
    cursor: pointer;
}
header nav ul li:hover {
    background-color: #84c6ff;
    color: #ffffff;
}
header nav ul li.active {
    background-color: #137dda;
    color: #ffffff;
}
main > div {
    margin-bottom: 10px;
}
main img {
    width: 100%;
}